package com.nanjia.boot.manufacturer.converter;

import com.nanjia.boot.manufacturer.model.entity.Manufacturer;
import com.nanjia.boot.manufacturer.model.form.ManufacturerForm;
import com.nanjia.boot.manufacturer.model.vo.ManufacturerVO;
import org.mapstruct.Mapper;

/**
 * 医疗器械生产商信息对象转换器
 *
 * @author 周洋
 * @since 2025-08-19 13:42
 */
@Mapper(componentModel = "spring")
public interface ManufacturerConverter{

    ManufacturerForm toForm(Manufacturer entity);

    Manufacturer toEntity(ManufacturerForm formData);

    ManufacturerVO toVO(Manufacturer formData);
}